package py.com.alfa.escriba.gui.dto.admin;

import org.codehaus.jackson.annotate.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class ControlesinmueblesDTO {
	private Long id;
	private Long idcontrol;
	private Long idinmueble;
	private Integer orden;
	private Long idmoneda;
	private Long valor;
	private String finca;
	private String matricula;

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getIdcontrol() {
		return idcontrol;
	}
	public void setIdcontrol(Long idcontrol) {
		this.idcontrol = idcontrol;
	}
	public Long getIdinmueble() {
		return idinmueble;
	}
	public void setIdinmueble(Long idinmueble) {
		this.idinmueble = idinmueble;
	}
	public Integer getOrden() {
		return orden;
	}
	public void setOrden(Integer orden) {
		this.orden = orden;
	}
	public Long getIdmoneda() {
		return idmoneda;
	}
	public void setIdmoneda(Long idmoneda) {
		this.idmoneda = idmoneda;
	}
	public Long getValor() {
		return valor;
	}
	public void setValor(Long valor) {
		this.valor = valor;
	}
	public String getFinca() {
		return finca;
	}
	public void setFinca(String finca) {
		this.finca = finca;
	}
	public String getMatricula() {
		return matricula;
	}
	public void setMatricula(String matricula) {
		this.matricula = matricula;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((id == null) ? 0 : id.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		ControlesinmueblesDTO other = (ControlesinmueblesDTO) obj;
		if (id == null) {
			if (other.id != null)
				return false;
		} else if (!id.equals(other.id))
			return false;
		return true;
	}
	@Override
	public String toString() {
		StringBuilder builder = new StringBuilder();
		builder.append("ControlesinmueblesDTO [id=").append(id)
				.append(", idcontrol=").append(idcontrol)
				.append(", idinmueble=").append(idinmueble).append(", orden=")
				.append(orden).append(", idmoneda=").append(idmoneda)
				.append(", valor=").append(valor).append(", finca=")
				.append(finca).append(", matricula=").append(matricula)
				.append("]");
		return builder.toString();
	}
	
}